/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
html.app, body {
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    background: #383734; /* grey bg */
}

html.app {
    padding:8px;
}

html.app body {
    overflow: hidden;
}

.terminal {
    font-family: "DejaVu Sans Mono", "Liberation Mono", monospace;
    font-size: 11px;
    display: inline-block;
    background: #383734 !important; /* grey bg */
    color: #f0f0f0;
}

/* 中文宽度不一样会造成换行 */
.terminal div {
    white-space: nowrap;
    overflow: hidden;
}

.focused .reverse-video, /*jq term*/.cmd .cursor.blink {
    color: #383734;
    background: #f0f0f0;
}

#loader {
    position: absolute;
    z-index: 10;
    width: 100%;
    top: 50%;
    top: calc(50% - 18px);
    text-align: center;
    color: white;
    cursor: pointer;
}

/* *************************
 *    JQuery Terminal css
 * *************************/
.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div,
.terminal .terminal-output div div{
    display: inline-block;
}
.cmd .clipboard {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0.01;
    filter: alpha(opacity = 0.01);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.01);
    width: 2px;
}
.cmd > .clipboard {
    position: fixed;
}
.terminal {
    /*padding: 10px;*/
    position: relative;
    overflow: hidden;
}
.cmd {
    padding: 0;
    margin: 0;
    height: 1.3em;
    /*margin-top: 3px; */
}
.cmd .cursor.blink {
    -webkit-animation: blink 1s infinite steps(1, start);
    -moz-animation: blink 1s infinite steps(1, start);
    -ms-animation: blink 1s infinite steps(1, start);
    animation: blink 1s infinite steps(1, start);
}
@keyframes blink {
    0%, 100% {
        /*
        background-color: #000;
        color: #aaa;
        */
        background-color: #383734;
        color: #f0f0f0;
    }
    50% {
        /* background-color: #bbb; /* not #aaa because it's seem there is Google Chrome bug */
        /* color: #000; */
        background-color: #f0f0f0;
        color: #383734;
    }
}
@-webkit-keyframes blink {
    0%, 100% {
        /*
        background-color: #000;
        color: #aaa;
        */
        background-color: #383734;
        color: #f0f0f0;
    }
    50% {
        /*
        background-color: #bbb;
        color: #000;
        */
        background-color: #f0f0f0;
        color: #383734;
    }
}
@-ms-keyframes blink {
    0%, 100% {
        /*
        background-color: #000;
        color: #aaa;
        */
        background-color: #383734;
        color: #f0f0f0;
    }
    50% {
        /*
        background-color: #bbb;
        color: #000;
        */
        background-color: #f0f0f0;
        color: #383734;
    }
}
@-moz-keyframes blink {
    0%, 100% {
        /*
        background-color: #000;
        color: #aaa;
        */
        background-color: #383734;
        color: #f0f0f0;
    }
    50% {
        /*
        background-color: #bbb;
        color: #000;
        */
        background-color: #f0f0f0;
        color: #383734;
    }
}
.terminal .terminal-output div div, .cmd .prompt {
    display: block;
    line-height: 14px;
    height: auto;
}
.cmd .prompt {
    float: left;
}
.terminal, .cmd {
    /*font-family: FreeMono, monospace;*/
    /*color: #aaa;*/
    /*background-color: #000;*/
    /*font-size: 12px;*/
    /*line-height: 14px;*/
    font-size: 11px;
    background: #383734; /* grey bg */
    color: #f0f0f0
}
.terminal-output > div {
    /*padding-top: 3px;*/
    min-height: 14px;
}
.terminal .terminal-output div span {
    display: inline-block;
}
.cmd span {
    float: left;
    /*display: inline-block; */
}
.terminal .inverted, .cmd .inverted, .cmd .cursor.blink {
    /*background-color: #aaa;*/
    /*color: #000;*/
    background: #f0f0f0; /* grey bg */
    color: #383734;
}
.terminal .terminal-output div div::-moz-selection,
.terminal .terminal-output div span::-moz-selection,
.terminal .terminal-output div div a::-moz-selection {
    /*background-color: #aaa;*/
    /*color: #000;*/
    background: #f0f0f0; /* grey bg */
    color: #383734;
}
.terminal .terminal-output div div::selection,
.terminal .terminal-output div div a::selection,
.terminal .terminal-output div span::selection,
.cmd > span::selection,
.cmd .prompt span::selection {
    /*background-color: #aaa;*/
    /*color: #000;*/
    background: #f0f0f0; /* grey bg */
    color: #383734;
}
.terminal .terminal-output div.error, .terminal .terminal-output div.error div {
    color: red;
}
.tilda {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}
.clear {
    clear: both;
}
.terminal a {
    color: #0F60FF;
}
.terminal a:hover {
    color: red;
}